package com.imoney.payment.member.domain;

import java.util.Date;

import com.imoney.framework.base.entity.BaseEntity;
import com.imoney.framework.base.enums.UserType;
import com.imoney.payment.member.enums.AccStatus;
import com.imoney.payment.member.enums.Country;
import com.imoney.payment.member.enums.LoginType;

public class Member extends BaseEntity {
	
	private static final long serialVersionUID = 5638344400934365137L;

	/**
	 * EPAY.MEMBER.MEMBER_NO (会员编号)
	 */
	private long memberNo;
	
	/**
	 * EPAY.MEMBER.USER_NAME (用户名(手机号))
	 */
	private String userName;

	/**
	 * EPAY.MEMBER.PASSWORD (登录密码)
	 */
	private String password;

	/**
	 * EPAY.MEMBER.NICKNAME (昵称)
	 */
	private String nickname;
	
	/**
	 * EPAY.MEMBER.USER_TYPE (会员类型)
	 */
	private UserType userType;
	
	/**
	 * 所属国家
	 */
	private Country country;
	
	/**
	 * 登录方式
	 */
	private LoginType loginType;
	
	/**
	 * EPAY.MEMBER.STATUS
	 */
	private AccStatus status;

	/**
	 * EPAY.MEMBER.SID (证书编号)
	 */
	private String sid;

	/**
	 * EPAY.MEMBER.TRY_TIMES (登录失败次数)
	 */
	private int tryTimes;

	/**
	 * EPAY.MEMBER.LST_LGN_DATE (最后一次登录时间)
	 */
	private Date lstLgnDate;

	/**
	 * EPAY.MEMBER.CREATE_DATE (创建时间)
	 */
	private Date createDate;

	/**
	 * EPAY.MEMBER.REMARK (备注)
	 */
	private String remark;

	public long getMemberNo() {
		return memberNo;
	}

	public void setMemberNo(long memberNo) {
		this.memberNo = memberNo;
	}

	public String getUserName() {
		return userName;
	}

	public void setUserName(String userName) {
		this.userName = userName;
	}

	public String getPassword() {
		return password;
	}

	public void setPassword(String password) {
		this.password = password;
	}

	public String getNickname() {
		return nickname;
	}

	public void setNickname(String nickname) {
		this.nickname = nickname;
	}

	public UserType getUserType() {
		return userType;
	}

	public void setUserType(UserType userType) {
		this.userType = userType;
	}

	public AccStatus getStatus() {
		return status;
	}

	public void setStatus(AccStatus status) {
		this.status = status;
	}

	public Country getCountry() {
		return country;
	}

	public void setCountry(Country country) {
		this.country = country;
	}

	public LoginType getLoginType() {
		return loginType;
	}

	public void setLoginType(LoginType loginType) {
		this.loginType = loginType;
	}

	public String getSid() {
		return sid;
	}

	public void setSid(String sid) {
		this.sid = sid;
	}

	public int getTryTimes() {
		return tryTimes;
	}

	public void setTryTimes(int tryTimes) {
		this.tryTimes = tryTimes;
	}

	public Date getLstLgnDate() {
		return lstLgnDate;
	}

	public void setLstLgnDate(Date lstLgnDate) {
		this.lstLgnDate = lstLgnDate;
	}

	public Date getCreateDate() {
		return createDate;
	}

	public void setCreateDate(Date createDate) {
		this.createDate = createDate;
	}

	public String getRemark() {
		return remark;
	}

	public void setRemark(String remark) {
		this.remark = remark;
	}
}